import { ABaseEntity } from "../BaseEntity";

 
/**
 * 房间功能组件
*/
export abstract class  EntityCompent<T extends ABaseEntity<INoMemory> = ABaseEntity<INoMemory>>
{
    private _entity:T;
 
    constructor(entity:T,key?:string)
    {
        this._entity=entity;
        
    }
 
    protected get  Entity()
    {
        return this._entity;
    }
      
}
